//*******************************************************************
//        模    块: 模块
//        版权所有: 版权所有(C)2008-2009
//        公    司: 
//        内容摘要: 没有内容说明
//        其他说明: 其它内容的说明
//        创建时间：2014年05月DD日 22时49分17秒
//        修改记录1: 修改历史记录，包括修改日期、修改者及修改内容
//        <pre>
//           修改日期：
//           版 本 号：
//           修 改 人：
//           修改内容：
//        </pre>
//        @version 1.0
//        @author  
//        @Email   
//********************************************************************

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CP.DBService;
using System.Data.Linq.Mapping;
using System.Runtime.Serialization;

namespace LF3.Moduls
{
    /// <summary>
	/// 钢水化验结果
	/// </summary>
	[DataContract]
	public class Lf_Steel_Sample_Analysis
	{
		/// <summary>
		/// 记录编号
		/// </summary>
		[Column(DbType="INTEGER(10)")]
		[DataMember]
		public long recordid { get ; set; }
		/// <summary>
		/// 工序号(1:倒罐站 2：脱硫 3：转炉 4：LF  5：RH 6：连铸(CC))
		/// </summary>
		[Column(DbType="VARCHAR2(1)")]
		[DataMember]
		public string aggregatetype { get ; set; }
		/// <summary>
		/// 工位号(1# LF:1,2;2# LF:3,4)
		/// </summary>
		[Column(DbType="INTEGER(1)")]
		[DataMember]
		public int aggregateno { get ; set; }
		/// <summary>
		/// 炉次号
		/// </summary>
		[Column(DbType="VARCHAR2(11)")]
		[DataMember]
		public string heatid { get ; set; }
		/// <summary>
		/// 钢种
		/// </summary>
		[Column(DbType="VARCHAR2(16)")]
		[DataMember]
		public string steelgradeno { get ; set; }
		/// <summary>
		/// 执行标准
		/// </summary>
		[Column(DbType="VARCHAR2(50)")]
		[DataMember]
		public string executestandard { get ; set; }
		/// <summary>
		/// 样号
		/// </summary>
		[Column(IsPrimaryKey=true, Name="1", DbType="VARCHAR2(12) NOT NULL")]
		[DataMember]
		public string sampleid { get ; set; }
		/// <summary>
		/// 采样类型
		/// </summary>
		[Column(DbType="INTEGER(2)")]
		[DataMember]
		public int sampletype { get ; set; }
		/// <summary>
		/// 采样时间
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? sampletime { get ; set; }
		/// <summary>
		/// 本炉的采样序号
		/// </summary>
		[Column(DbType="INTEGER(2)")]
		[DataMember]
		public int samplesequenceno { get ; set; }
		/// <summary>
		/// C含量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal c_h { get ; set; }
		/// <summary>
		/// Si含量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal si_h { get ; set; }
		/// <summary>
		/// Mn含量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal mn_h { get ; set; }
		/// <summary>
		/// P含量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal p_h { get ; set; }
		/// <summary>
		/// S含量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal s_h { get ; set; }
		/// <summary>
		/// Cr含量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal cr_h { get ; set; }
		/// <summary>
		/// Ni含量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal ni_h { get ; set; }
		/// <summary>
		/// Cu含量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal cu_h { get ; set; }
		/// <summary>
		/// Mo含量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal mo_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal al_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal alsol_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal ti_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal v_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal nb_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal w_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal ca_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal co_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal b_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal sb_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal as_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal sn_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal zn_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal pb_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal bi_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal ce_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal n_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal o_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal h_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal bso1_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal mg_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal re_h { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal zr_h { get ; set; }
		/// <summary>
		/// Di含量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal di_h { get ; set; }
		/// <summary>
		/// 碳钢量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal ceq_h { get ; set; }
		/// <summary>
		/// 锰钢量
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal mnq_h { get ; set; }
		/// <summary>
		/// 预留1
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal reserved1 { get ; set; }
		/// <summary>
		/// 预留2
		/// </summary>
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal reserved2 { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal reserved3 { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal reserved4 { get ; set; }
		[Column(DbType="NUMBER(7,4)")]
		[DataMember]
		public decimal reserved5 { get ; set; }
		/// <summary>
		/// 插入时间
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? insert_time { get ; set; }
 
		public Lf_Steel_Sample_Analysis()
		{
			aggregatetype = "";
			heatid = "";
			steelgradeno = "";
			executestandard = "";
			sampleid = "";
		}
	}


    /// <summary>
	/// 钢水化验结果服务
	/// </summary>
	public class Lf_Steel_Sample_AnalysisService : DataService<Lf_Steel_Sample_Analysis>
	{
	
	}

}
